build: Don't append to an accidentally existing file
authorBenjamin Otte <otte@redhat.com>
Tue, 8 Nov 2011 19:16:48 +0000 (20:16 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 8 Nov 2011 20:14:05 +0000 (21:14 +0100)
gtk/Makefile.am

index 514c2c781223f3b4a71cb3387a37b5386a5104eb..57f7fa184ef0e068034cd62bf549a1b7d5f02bdb 100644 (file)
@@ -902,7 +902,7 @@ gtktypebuiltins.h: stamp-gtktypebuiltins.h
        @true
 stamp-gtktypebuiltins.h: @REBUILD@ $(gtk_public_h_sources) $(deprecated_h_sources) gtktypebuiltins.h.template
        $(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) --template gtktypebuiltins.h.template \
-               $(gtk_public_h_sources) $(deprecated_h_sources) ) >> xgen-gtbh \
+               $(gtk_public_h_sources) $(deprecated_h_sources) ) > xgen-gtbh \
        && (cmp -s xgen-gtbh gtktypebuiltins.h || cp xgen-gtbh gtktypebuiltins.h ) \
        && rm -f xgen-gtbh \
        && echo timestamp > $(@F)